package cn.zh.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
//订单
import java.util.Date;
@Data
public class Order {


  private Long id;
  private String orderId;//订单号  日期+租户账号+unique
  private String tenement;//租房子的账号
  private String renting;//出租房子的账号
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date startTime;//租房开始时间
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date overTime;//租房到期时间
  private Double price; //租金
  private Long orderStatus;//订单状态  审核  待审核0  通过1  未通过2
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateTime;


}
